package cn.shiwei.hr.mapper;

import cn.shiwei.hr.domain.CourseType;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 课程目录 Mapper 接口
 * </p>
 *
 * @author 1363732197@qq.com
 * @since 2021-11-26
 */
public interface CourseTypeMapper extends BaseMapper<CourseType> {

    List<CourseType> selectTreeData(long pids);

    void updateByIdsToTotalCount(@Param("ids") List<String> types, @Param("count") int count);
}
